package com.jmb.apiplatform.mapper;


import com.jmb.apiplatform.pojo.UserDao;
import com.jmb.apiplatform.pojo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    UserDao selectUserByName(String username);

    void insetUser(UserDao userDao);

    UserDao LoginUser(UserDao userDao);
    void save(UserDao userDao);
    String selectPwdByUserId(Integer userId);

    void removeUserById(Integer userId);

    void changePwd(Integer userId, String newPwd);

    void pwdReset(Integer userId, String defaultPwd);

    String checkUserName(String userName);

    void editUser(UserDao userDao);

    UserDao findById(Integer userId);

    List<UserDao> list(UserVO userVO);

    List<UserDao> checkUser(UserDao userDao);
}




